<style>
    #application-view blockquote p{color: #8D8D8D;}
    #application-view blockquote:hover{ cursor: pointer;}
</style>
<div class="layui-card-header">切换应用</div>
<div class="layui-card-body tpl-theme" style="padding: 10px;">
    <div class="layui-row" id="application-view" >
		<div p-each="apps">
			<blockquote class="layui-elem-quote layui-anim layui-anim-scale">
			    <span>{{name}}</span>
			    <span p-bind="data-id:{{id}}^data-panel:{{panel}}^data-name:{{name}}^data-check:{{check}}"
					click-event="switchApp" class="application-item" style="display: block; float: right;">
					<span class="orange" p-if="{{check == 1}}">使用中</span>
					<span class="green" p-if="{{check == 0}}">切换-></span>
			    </span>
			    <p>{{remark}}</p>
			</blockquote>
		</div>
    </div>
</div>
<script src="/controller/tpl/application.js"></script>
